-- GENERATED SPELL FOR [Trusty Copper Racer] --


function spell0_32233(pUnit, Event) --@Toy - Race Car Speed Aura,n/a--
pUnit:FullCastSpellOnTarget(60225,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32233', 1250, 1)
end

function Sorts_32233(pUnit, Event)
local choix_sorts_32233 = math.random(0, 0)
if choix_sorts_32233 == 0 then
pUnit:RegisterEvent('spell0_32233', 1, 1)
end
end

function mob32233_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32233', math.random(1500, 3000), 1)
end

function mob32233_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32233_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32233_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32233, 1, 'mob32233_Action')
RegisterUnitEvent(32233, 2, 'mob32233_Leave')
RegisterUnitEvent(32233, 3, 'mob32233_Kill')
RegisterUnitEvent(32233, 4, 'mob32233_Die')
